package com.lanou.four;

import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Scanner;

/**
 * @author zyj
 * @date 2022年05月24日 11:09
 */
public class Test {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap<>();
        map.put("1930","乌拉圭");
        map.put("1934","意大利");
        map.put("1938","意大利");
        map.put("1950","乌拉圭");
        map.put("1954","西德");
        map.put("1958","巴西");
        map.put("1962","巴西");
        map.put("1966","英格兰");
        map.put("1970","巴西");
        map.put("1974","西德");
        map.put("1978","阿根廷");


        Scanner sc = new Scanner(System.in);

        String name = sc.next();
        map.forEach((k,v) ->{
            if (Objects.equals(v,name)){
                System.out.println(k);
            }
        });


    }
}
